package com.sy.entity;

public class Message {

    private Integer id;

    private String name;
    private String message;
    private String date;
    private Integer viewnumber;
    private String picture;
    private Integer typeid;
    private String content;
    private String anthor;
    private String source;

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", message='" + message + '\'' +
                ", date='" + date + '\'' +
                ", viewnumber=" + viewnumber +
                ", picture='" + picture + '\'' +
                ", typeid=" + typeid +
                ", content='" + content + '\'' +
                ", anthor='" + anthor + '\'' +
                ", source='" + source + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getViewnumber() {
        return viewnumber;
    }

    public void setViewnumber(Integer viewnumber) {
        this.viewnumber = viewnumber;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAnthor() {
        return anthor;
    }

    public void setAnthor(String anthor) {
        this.anthor = anthor;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
